package com.ymm.system.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2022-08-03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "")
public class CargoDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "货源id")
	private Long cargoId;

	@ApiModelProperty(value = "货主id")
	private Long shipperId;

	@ApiModelProperty(value = "货源装货地")
	private String cargoSrc;

	@ApiModelProperty(value = "起始地省份")
	private String cargoSrcProv;

	@ApiModelProperty(value = "起始地市")
	private String cargoSrcRegion;

	@ApiModelProperty(value = "起始地区")
	private String cargoSrcCity;

	@ApiModelProperty(value = "起始地纬度")
	private Double cargoSrcLat;

	@ApiModelProperty(value = "起始地经度")
	private Double cargoSrcLon;

	@ApiModelProperty(value = "卸货地")
	private String cargoDes;

	@ApiModelProperty(value = "目的地省")
	private String cargoDesProv;

	@ApiModelProperty(value = "目的地市")
	private String cargoDesCity;

	@ApiModelProperty(value = "目的地区")
	private String cargoDesRegion;

	@ApiModelProperty(value = "目的地纬度")
	private Double cargoDesLat;

	@ApiModelProperty(value = "目的地经度")
	private Double cargoDesLon;

	@ApiModelProperty(value = "货源重量")
	private BigDecimal cargoWeight;

	@ApiModelProperty(value = "货源描述")
	private String cargoDescription;

	@ApiModelProperty(value = "货源体积")
	private BigDecimal cargoVolume;

	@ApiModelProperty(value = "货源要求车辆类型")
	private Integer cargoRequireType;

	@ApiModelProperty(value = "发货时间")
	private Date cargoDeliveryTime;

	@ApiModelProperty(value = "货源信息创建时间")
	private Date cargoCreateTime;

	@ApiModelProperty(value = "货源信息更新时间")
	private Date cargoUpdateTime;

	@ApiModelProperty(value = "货源价格")
	private Integer cargoPrice;

	@ApiModelProperty(value = "货源状态")
	private Integer cargoState;

	@ApiModelProperty(value = "跟车人数")
	private Integer cargoPersonNum;

	@ApiModelProperty(value = "货源备注")
	private String cargoComment;

	@ApiModelProperty(value = "发货人电话")
	private String cargoShipperPhone;

	@ApiModelProperty(value = "收货人电话")
	private String cargoReceiverPhone;

	@ApiModelProperty(value = "货源类型")
	private Integer cargoType;

	@ApiModelProperty(value = "运输距离")
	private Integer cargoDistance;

	@ApiModelProperty(value = "空驶距离")
	private Double cargoEmptyDistance;
}